package com.example.bean;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;


@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "company_product")
@Inheritance(strategy = InheritanceType.JOINED)
@EqualsAndHashCode
public class BlockchainCompanyProduct extends BaseEntity {

	//@ManyToOne(fetch = FetchType.EAGER)
	//@JoinColumn(name = "blockchain_company_id")
	//private BlockchainCompanyInfo blockchainCompanyInfo;
	@Column(name = "blockchain_company_id")
	private Long blockchaincompanyid;
	/*产品名称"*/
	private String name;
	/*产品链接"*/
	private String url;
	/*产品类型产品类型-主（1:硬件组件 2:软件组件）")*/
	private String firsttype;

	/*产品类型-二级("
    		+ "1:(11:可信存储和计算 12:矿机芯片))"
    		+ "2:(21:共识算法  22:智能合约 23:密钥管理 24:跨链/并发 25:安全 26:交易所 27:钱包)")
	 */
	private String sectype;
	/*类别补充信息*/
	
	private String typeadd;
	/*是否开源*/
	private boolean opensource;
	/*项目级别（1：国家级 2：省级 3：其他）*/

	private String projectlevel;
	/*技术先进性"*/
	private String advance;
	/*产品规模*/
	private String productscale;
	/*安全性*/
	private String security;   
	private Integer tianbaostatus;
	private String createAblity;

}
